package com.sams.service;

import java.util.List;

import com.github.pagehelper.PageInfo;
import com.sams.entity.DataUp;

public interface DataUpService {
	/**
	 * 查询国家资助 名单
	 * @param dataUp
	 * @return
	 */
	public PageInfo<DataUp> selectCountrySub(Integer currentPage,DataUp dataUp);

	public int updateCountrySub(DataUp dataUp);
	
	public int downdateCountrySub(DataUp dataUp);

	// 地方政府
	public PageInfo<DataUp> selectGovSub(Integer currentPage, DataUp dataUp);

	public int updateGovSub(DataUp dataUp); 
	public int downdateGovSub(DataUp dataUp); 
	
	// 学校资助
	public PageInfo<DataUp> selectSchoolSub(Integer currentPage, DataUp dataUp);

	public int updateSchoolSub(DataUp dataUp); 
	public int downdateSchoolSub(DataUp dataUp); 
		
	// 社会资助
	public PageInfo<DataUp> selectSocietySub(Integer currentPage, DataUp dataUp);

	public int updateSocietySub(DataUp dataUp); 
	public int downdateSocietySub(DataUp dataUp); 
	
	//项目汇总统计
	public List<DataUp> getTotalByProject(DataUp dataUp);
	
	public List<DataUp> getTotalByProjectGov(DataUp dataUp);
	
	public List<DataUp> getTotalByProjectSchool(DataUp dataUp);
	
	public List<DataUp> getTotalByProjectSociety(DataUp dataUp);

}
